﻿// Decompiled with JetBrains decompiler
// Type: DnProcessSimulateCommands.TCPFTracker.TCPFTracker
// Assembly: DnProcessSimulateCommands, Version=2402.0.0.890, Culture=neutral, PublicKeyToken=null
// MVID: A885D881-AEDF-447E-852A-6F13102E089C
// Assembly location: C:\Program Files\Tecnomatix_2402\eMPower\DotNetCommands\DnProcessSimulateCommands.dll

using Tecnomatix.Engineering;


namespace DnProcessSimulateCommands.TCPFTracker;

public class TCPFTracker
{
  private ITxLocatableObject _trackedObject;
  private TxFrame _trackedFrame;
  private TCPFTrackCurveCreator _TCPFTrackCurveCreator;

  public TCPFTracker(ITxLocatableObject trackedObject, TxFrame trackedFrame)
  {
    this._trackedObject = trackedObject;
    this._trackedFrame = trackedFrame;
    this._TCPFTrackCurveCreator = new TCPFTrackCurveCreator();
  }

  public void StartRecording()
  {
    this._TCPFTrackCurveCreator.StartRecording(this._trackedObject, this._trackedFrame);
  }

  public void StopRecording() => this._TCPFTrackCurveCreator.StopRecording();

  public void PauseRecording() => this._TCPFTrackCurveCreator.PauseRecording();

  public TxComponent getComponent() => this._TCPFTrackCurveCreator.Component;

  public TxColor Color
  {
    get => this._TCPFTrackCurveCreator.CurveColor;
    set => this._TCPFTrackCurveCreator.CurveColor = value;
  }

  public bool Paused => this._TCPFTrackCurveCreator.Paused;

  public TxObjectList CreatedComponents => this._TCPFTrackCurveCreator.CreatedComponents;

  public void SetLineWidth(int width)
  {
  }
}
